package com.top10.service;

import com.baomidou.mybatisplus.service.IService;
import com.top10.entity.Shop;
import com.top10.entity.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ellen
 * @since 2018-09-27
 */
public interface IShopService extends IService<Shop> {

    /**
     * 店铺列表
     */
    List<ShopVo> shopList(String type);

/**
 * 根据商店uuid查询信息
 */
  Shop selectByUuid(String uuid);

    /**
     * 查找最近代理商的uuid 用于客服的
     */
    String getAgentUUid(String province, String city, String district, String shop_uuid)throws Exception;

    /**
     * 查找最近代理商的uuid 用于查找代理商的
     */
    String getAgentUUidone(String province, String city, String district, String shop_uuid)throws Exception;
}
